home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Communications / Network / Anarchie-120 / Documentation < prev    next >
Text File  |  1994-06-04  |  20KB  |  389 lines

  1. Anarchie v1.2.0 © 1993-94 Peter N Lewis.
  2. This program is $10 shareware.
  3.  
  4. “I filled up my disk in 20 minutes!  Before Anarchie it would take
  5. me a good hour or more to download the same amount of stuff!” - Russell Baird
  6.  
  7. As seen on TV (MacNeil/Lehrer show, May 12 1994)
  8.  
  9. As demoed at Apple's World-wide Developers Conference, May 1994
  10.  
  11. • Contents
  12.  
  13.       What Anarchie Does
  14.       Features
  15.       Using Anarchie
  16.       Using Anarchie via AppleScript
  17.       Limitations
  18.       Small Print
  19.       Warranty
  20.       Fine Print
  21.       How It Works
  22.       Version History
  23.       Acknowledgements
  24.       The Author
  25.  
  26. • What Anarchie Does
  27.  
  28. Anarchie is an FTP and Archie client.  It will let you browse FTP sites, download files, or find them using an archie server.  It requires System 7 and MacTCP 1.1 or later.  Unfortunately many Archie servers are a bit on the flaky side, but don’t worry, just try another server!
  29.  
  30. •Features
  31.  
  32. Drag Manager support.
  33. AppleScritable and Recordable.
  34. Queries Archie servers and lists results.
  35. Gives full access to FTP sites in a connectionless manner.
  36. Save bookmarks to FTP sites for later listing or fetching.
  37. Comes with bookmarks to many popular sites.
  38. Fetches files from list windows with just a double-click.
  39. Supports MacBinary decoding.
  40. Forwards fetched files to StuffIt Expander for decoding.
  41. Fetch&Store files and listings using AppleScript independently of archie.
  42. Uses Fetch’s “Suffix Mapping” to determine file type and transfer mode.
  43. Supports UserLand’s MenuSharing.
  44.  
  45. • Using Anarchie
  46.  
  47. Note: Anarchie is spelled that way, only the first letter is capitalised, and is pronounced “Anarchy”, not “An archie”.
  48.  
  49. Simply launch Anarchie.  Choose Preferences and fill in the info there.  Then choose Archie…, and select a server, choose the kind of search you want done, the maximum number of matches to return, whether the search is case sensitive, and then type in your search request.  Click the Search button.  Anarchie will then attempt to query the selected server.  
  50.  
  51. Important: Note that some servers apear to be VERY unstable, certainly the Australian one comes and goes.  If you can’t get a result from one, just try another.  You can fetch an up to date Archie Server List with the “Fetch Server List” menu command.  Note also that the larger the number of matches you request, the longer it will take to reply.   Usually 20 matches will be plenty.
  52.  
  53. You can also use Anarchie to simply browse around FTP sites.  Choose Get…,  then type in the host you want to FTP to (you can also put in a path name after a colon, or you can type (or Paste) in a URL).  Then click List and it will fetch a listing of that directory.  Then you can double-click folders to fetch further listings.  It behaves like TurboGopher in this respect.  You can also save references to folders to search them later.  Or just use the bookmark files I've provided, for example it lists over a dozen mirrors for the UMich and Info-Mac sites, so if you have trouble connecting to the home sites, try one of the many mirrors.
  54.  
  55. There are three kinds of archie searches:
  56.  
  57. simple substring which just looks for the word you type anywhere in the file name.
  58. pattern matching which looks for names like dehqx*.hqx
  59. regular expressions which looks for names like ^dehqx.*\.hqx$
  60.  
  61. Each can be either case sensitive or case insensitive.  Since the Archie protocol doesn’t support all of these options some are converted into strange looking regular expressions.
  62.  
  63. Anarchie shows you the progress with a wildly inacurate GUESTimate of how long it will take (its not my fault, I just report what the server says).  When the server finishes responding, the results will be displayed.  You can select some entries and copy them (copies as host:path) or option-copy it (as ftp://host/path, which is the URL (Universal Resource Locator) format).  Double-clicking will fetch the file automagically.
  64.  
  65. Anarchie supports using an alex server.  Alex is a file caching system that makes an FTP site with directories like /alex/edu/umich/archive/mac/mac/util/comm.  When you fetch a file from there, it gets the listing and the fetched file from the original archive, and caches the result on the server so if anyone else gets the file, they get it from the alex server.  This is used in Australia to try to cut down on the ftp use of the Australian<->USA link.  It isn’t very reliable.
  66.  
  67. Anarchie supports using an FTP firewall.  The firewall must pretend to be an FTP server, and must accept usernames of the form <user>@<host>, and then carry out the FTP to <host> specifuying a username of <user>.  Anarchie does not support any other kind of firewall, nor does it support any kind of UDP firewall.
  68.  
  69. Anarchie will use the Suffix Mappings you define in Fetch to specify the file type and creator via the file’s suffix (eg .txt).  If it doesn’t recognize the file, it will use binary mode, which means that text files will have carriage returns&linefeeds in them.  There is a cute little drag&drop utility called Drop Text by Todd Wilson that will fix such files with a minimum of fuss.
  70.  
  71. If you have Drag Manager (rumoured to be in System 7.5), then Anarchie will allow you to drag files to or from the Display windows to upload or download files.  Warning: some versions of the Drag Manager will crash if you drag more than one file to the Finder (or will simply ignore files other than the first one).  Also, if you drag files to the trash can, the Drag Manager will show the zooming rectangles to indicate that the operation failed even though it worked fine.
  72.  
  73. Tips:
  74. - Set Fetch’s Suffix Mapping for .txt, since this is used for View File and other things.
  75. - Make sure you have StuffIt Expander.  Setting it to “Delete Originals” is a good idea.
  76. - If an archie server doesn’t answer, try another server.
  77. - If an FTP site is busy, try another.  Try less-known servers first to share the load.
  78. - Make bookmarks for your favorite FTP directories (eg info-mac/game!).
  79. - Use “View Selection” to force files to be downloaded in text mode.
  80. - Most of the Finder Shortcuts work in Anarchie’s listing windows.
  81.       (eg, command-uparrow opens the parent, typing a name selects it, etc)
  82. - Hold down the option key when you double click/select a menu to edit bookmarks.
  83. - Hold down the option key and choose Edit Retry if the FTP name is slightly wrong.
  84. - Use the Show Log command to refetch files by doubleclicking entries
  85. - The Log will be empty unless you enable logging in the Preferences window.
  86. - Use the Clear menu command to remove entries from the Log.
  87.  
  88. • Using Anarchie via AppleScript
  89.  
  90. You can use Anarchie from AppleScript.  It has commands to search an archie server, as well as to fetch a file from an arbitrary ftp site.  You must be careful to set the timeout parameter though, otherwise if will fail if you try to fetch a large file.
  91.  
  92. Example AppleScript:
  93.  
  94. tell application "Anarchie"
  95.   with timeout of 5 * 60 seconds
  96.     find "dehqx" server "archie.internic.net" matches 20 with window
  97.     fetch file "HD:black-cat-startup.hqx" host "sumex-aim.stanford.edu" path "/info-mac/grf/black-cat-startup.hqx"
  98.     list file "HD:listing" host "sumex-aim.stanford.edu" path "/info-mac"
  99.     store file "HD:file" host "sumex-aim.stanford.edu" path "/incoming"
  100.   end timeout
  101. end tell
  102.  
  103. You can also use the “url” field to simplify some commands:
  104. or simpler:
  105.  
  106.     fetch url "sumex-aim.stanford.edu:/info-mac/grf/black-cat-startup.hqx"
  107.     store file "HD:file" url "ftp://user:password@host/path"
  108.  
  109. [Note that the URL can be a proper URL, or a simple “host:path” form]
  110.  
  111. Check out the scripts provide.
  112.  
  113. You’re on your own when it comes to Frontier, I’ve included some stuff from Leonard Rosenthol, but I have no idea what it does - cool and froody things I expect!
  114.  
  115. • Limitations
  116.  
  117. Anarchie requires System 7 and MacTCP 1.1 or later.  For large searches, large listings or many listings or searches or whatever, you may need to increase Anarchie’s memory partition (use Get Info in the Finder to do this).  To display FTP sites, Anarchie assumes the directory listing will look something like a normal Un•x one, if it doesn’t, it won’t work.  I have a document available on how Anarchie (and other programs) parse the LIST output, so if you are writing a server or client, let me know and I’ll send you the document.
  118.  
  119. • Small Print
  120.  
  121. This program is Shareware, which means if you use it, you should send me US$10.  US dollars or personal checks in US dollars drawn on US banks are fine.
  122.  
  123. Site Licensing:
  124. World-Wide Source Code License: US$5000
  125. World-wide license: US$2000
  126. Universities or companies site license: US$500
  127. Curtin University and the University of Western Australia are exempt.
  128. Individuals: US$10.
  129.  
  130. Note that I'd prefer that you use the program and send me a note saying so, than not use the program at all!  (it doesn’t help either of us if you delete it and don’t pay, but this is not to say I am happy about it)  So even if you are not willing to send me any money, still drop me a line and say hi and tell me what you like or don't like about this program.  Of course, I’d much prefer you to pay, obviously.  Better yet, get your organisation to buy a site license.
  131.  
  132. If you purchase a site license, contact me for information on how to make Anarchie automatically set the “I Paid” flag in the Preferences dialog (for those who are interested, I leave the “I Paid” checkbox off on my machine to ensure that the About box is not too annoying and it doesn’t trouble me, so live with it)
  133.  
  134. You may distribute Anarchie any way you wish as long as you don't charge for it (reasonable download costs such as Compu$erve are ok I guess (although who would call Compu$erve’s download costs reasonable?)).  It would probably be a good idea to keep this documentation file with the program, but I’m hardly likely to check up on you now am I!  I don’t guarantee any support, but I always answer my Email.  If I don’t answer Email its because your message didn’t get to me, or my reply bounced, so try again and include a valid Internet address if you can.
  135.  
  136. You MAY NOT DISTRIBUTE Anarchie on any disk costing more than $5 without my explicit permission.
  137.  
  138. • Warranty
  139.  
  140. This program should do what I’ve described in this document.  If it doesn’t, you can simply stop using it.  If you pay me, and within a year find that it doesn’t do what I describe here, then you can notify me and I will refund your money and cancel your license.
  141.  
  142. • Fine Print
  143.  
  144. Peter Lewis hereby disclaims all warranties relating to this software, whether express or implied, including without limitation any implied warranties of merchantability or fitness for a particular purpose.  Peter Lewis will not be liable for any special, incidental, consequential, indirect or similar damages due to loss of data or any other reason, even if Peter Lewis or an agent of his has been advised of the possibility of such damages.  In no event shall Peter Lewis be liable for any damages, regardless of the form of the claim.  The person using the software bears all risk as to the quality and performance of the software.
  145.  
  146. US Governement:
  147.         Government End Users:  If you are acquiring the Software and fonts
  148. on behalf of any unit or agency of the United States Government, the
  149. following provisions apply.  The Government agrees:
  150.         (i) if the Software and fonts are supplied to the Department of
  151. Defense (DoD), the Software and fonts are classified as "Commercial
  152. Computer Software" and the Government is acquiring only "restricted rights"
  153. in the Software, its documentation and fonts as that term is defined in
  154. Clause 252.227-7013(c)(1) of the DFARS; and
  155.         (ii) if the Software and fonts are supplied to any unit or agency
  156. of the United States Government other than DoD, the Government's rights in
  157. the Software, its documentation and fonts will be as defined in Clause
  158. 52.227-19(c)(2) of the FAR or, in the case of NASA, in Clause
  159. 18-52.227-86(d) of the NASA Supplement to the FAR.
  160.  
  161. • How It Works
  162.  
  163. Anarchie connects to the archie server using the UDP prospero protocol and then, thru a complicated dance of exchanged packets, gets a response back which it reassembles into a list and then displays.  The fetching is done with the normal FTP protocol.
  164.  
  165. • Version History
  166.  
  167. Still Todo:
  168. Send MACB command once, and deal with it properly for uploads
  169. read/write FTP commands (rename, put, delete)
  170.   (put, delete work with DragManager)
  171. other FTP commands (site index, arbitrary)
  172. Moveable modal Find window
  173.  
  174. Regexp helper?
  175. way cool help window with topics and stuff and throw away the documentation files.
  176.  
  177. o autosizing to not showing the path
  178. o option double click to close parent window
  179. o shift tab in get dialog
  180. Option-click headers to sort in reverse (eg au.edu.curtin.info).
  181. "Get Info" like notes for URLs.
  182. Use Expander's Expand event so that I can notify when it's finished.
  183. tcl support?
  184. Remeber last sort, or preference for prefered sort?
  185. fetch a file when it exists should give a helpful prompt.
  186. Try to fetch file.hqx in favour of file.hqx.{Z,z,gz} to see if the site will decode it
  187. Some form of after-search filtering
  188. AE set/get preferences
  189. AE line 3 of window 1
  190. support for gopher and WWW as well ;-)
  191.  
  192. 1.2.0d7
  193. ~UI changes
  194. ~Drag Manager drag only if you click on the file name or icon.
  195.  
  196. 1.2.0d6
  197. ~pipeline multiple ftp request (especially important for ftp.apple.com).
  198. ~Bookmarks with more than one entry.
  199. ~Unbugged nonymous ftp.
  200. ~No more negative times hopefully :-)
  201. ~support NetWare server
  202.  
  203. 1.2.0d5
  204. ~Fixed? progress colours
  205. ~Drag Manager support
  206.  
  207. 1.2.0d4
  208. ~Save Bookmark should possibly add a string like " Bookmark"
  209. ~Only pay attention to option in odoc event if sent from the finder.
  210. ~revamp zoom code.
  211. ~Edit->Clear on Log window
  212. ~Update Balloon help
  213. ~Save URL bug
  214.  
  215. 1.2.0d3
  216. ~active log (still need to implement clear)
  217. ~Totally reorged the command keys (sorry!)
  218. ~search menu (Find, Find Again, All at once).
  219. ~FTP Transcript
  220. ~reasonably complete support for (readonly) nonymous FTP
  221. ~support partial and absolute paths
  222. ~option-copy in Get dialog copies as URL
  223. ~paste of URL splits across fields.
  224. ~Fixed up the progress bar (oops ;)
  225. ~Added some minor changes to interoperate better with Fetch/NewsWatcher.
  226.  
  227. 1.1.4d1
  228. ~Started on transcripts
  229. ~Fixed a bug that caused some directories to come up empty, and some -49 errors.
  230.  
  231. 1.1.3
  232. Released three times inside 24 hours to become 1.1.3 - don't ask.
  233.  
  234. 1.1.1d3
  235. ~Allow listing host:/path/file*
  236. ~uniquefy the destination name rather than prompting.
  237. ~Cmd-1,2,3 to set radio buttons in each dialog
  238. ~Only numbers in Size and Matches fields.
  239. ~Option-(return, doubleclick,etc) all bring up the Edit dialog now.
  240.  
  241. 1.1.1d2
  242. ~Improve timeout message (just put up "nothing found" window).
  243. ~Time remaining in FTP progress.
  244. ~Using new DNR code (lots of new bugs I expect)
  245. ~Zoom leaves room for disk icons.
  246. ~Fixed a bug that caused “zones” to be incorrect on occasion.
  247. ~Cmd-. or escape while finding terminates the find and displays the results.
  248.  
  249. 1.1.1d1
  250. ~Added prefs for opening the Bookmarks List, and not using Expander.
  251. ~Fixed bug with dot (.) not working in patterns.
  252. ~Open Folder opens a bookmark listing
  253. ~cps display in store/fetch progress?
  254. ~Partial results - really this time.
  255. ~Minor UI fix
  256. ~Added URL support to AppleEvents
  257. ~Added support for "current selection" AppleEvent
  258. ~Fixed bug with binary mode listing transfers (actually a bug in some servers)
  259.  
  260. 1.1.0d7
  261. ~Allow port specification in Firewall.
  262.  
  263. 1.1.0d6
  264. ~Force save rating et al after changes.
  265. ~Fixed some bugs in the cache code (surprise!)
  266. ~Fixed some bugs in the sort code (surprise!)
  267. ~Improved FTP listing compatibility (the Newton site broke it).
  268. ~Minor UI issues and redid balloon help (Thanks Quinn).
  269. ~Minor scroll bar glitch.  Sigh.
  270.  
  271. 1.1.0d5
  272. ~Cache ftp connections to avoid reopening.
  273. ~Increase sort speed by an order of magnitude or two.
  274. ~Randomize (Sorry Jim :-)
  275. ~Fixed colour icons to use only allowed colours, and added bookmark colour icon
  276. ~Trashed pref icons, use file type "pref" to get default icon instead.
  277. ~balloon help for Window menu
  278. ~Dates are not always for THIS year - they are for withing the last year!
  279. ~cmd-uparrow opens parent
  280.  
  281. 1.1.0d4
  282. ~Balloon Help for menus.
  283. ~Regex helper - tutorial.
  284. ~Decode .sit/.cpt files after decoding MacBinary file
  285. ~mastermind.cpt.hqx (in game/board) is NOT a directory :-(
  286. ~Partial results
  287. ~added date and mode to the log.
  288. ~added retry menu (it might even work)
  289. ~position the "save changes" alert.
  290. ~status strings
  291. ~out of disk space gives sensible error (as do other errors)
  292. ~dir name in window listing instead of "Directory Listing"
  293. ~New about box? prompt? display usage?  Newbie rating
  294.  
  295. 1.1.0d3
  296. ~Log file (does it need more info?)
  297. ~Barber poll progress
  298. ~Pg up/down, home/end keys
  299. ~Balloon Help
  300. ~increase memory to 300k?
  301. ~Save Bookmarks of list window gives no default name
  302. ~Out of memory dialog is not big enough
  303. ~archie comes up with no server selected???
  304. ~cmd keys for fetch list/fetch file? (cmd-1 & cmd-2)
  305. ~Edit *menu* doesn't work
  306. ~Make button light up on paste
  307. ~TEXT mode solution (View Selection)
  308. ~Automagic MacBinary detection.
  309. ~option-close box & Command-option-W
  310. ~close box -> AppleEvent
  311. ~Finder shortcuts
  312.  
  313. 1.1.0d2
  314. ~Windows menu.
  315. ~Full connectionless anonymous FTP client.
  316. ~Saveable URL documents
  317. ~Non-modal Get File/Directory dialog.
  318. ~double-click dir brings up list of files similar to archie list
  319.  
  320. 1.1.0d1
  321. ~Finder-like "Name, Size, etc header" with sorting
  322. ~Improved "no result" display
  323. ~Support FTP firewalls. (do they all behave the same?)
  324. ~Preference to open Find window on startup.
  325. ~Added the server name to the listing window’s title.
  326. ~Supports windows wider than 1000 pixels (well, I don't have one :-)
  327. ~Only use "-" in password for anonymous logins, since some servers don't handle it.
  328.  
  329. 1.0.0 - First release
  330. ~AE store & list
  331. ~GrowZone
  332. ~MenuSharing.
  333. ~Fixed popup UI to abide by Apple’s HIG.
  334. ~Alex server support
  335. ~Multiple selections in the list window.
  336. ~Scriptable&Recordable fetch command
  337. ~Fetch SuffixMapping
  338. ~Send to StuffIt Expander
  339. ~Prefs dialog
  340.  
  341. • Acknowledgements
  342.  
  343. Thank go to Dmitry Boldyrev & Igor Livshits for the icons, and to various people on my beta list for their suggestions.  Quinn & Leonard get the award for most implemented suggestions.
  344.  
  345. Thanks again to Leonard for the Frontier stuff.  Don’t ask me what it is, I’m just including it - anything Leonard writes is certainly going to be good :-)
  346.  
  347. Thanks also to Chris W Johnson and the folks at University of Texas at Austin for hosting the archie server list fetched by “Fetch Server List”.  You might like to check out their archive at microlib.cc.utexas.edu:microlib/mac (preferably after hours).
  348.  
  349. Thanks also to Jean-Pierre Kuypers for the french translation.
  350.  
  351. • The Author
  352.  
  353. Programs written by me:
  354. Anarchie 1.2.0 - Macintosh FTP and Archie client.
  355. MungeImage 1.0.1 - Mount DiskCopy images (written with Quinn).
  356. Morpion 1.0.0 - A simple solitaire game.
  357. FTPd 2.2.0 - Macintosh FTP server.
  358. Daemon 1.0.0 - Macintosh multi-protocol daemon.
  359. Script Daemon 1.0.0 - Telnet->AppleScript gateway
  360. DeHQX 2.0.1 - BinHex decoder (use StuffIt Expander instead).
  361. Finger 1.3.7 - Macintosh Finger client/daemon.
  362. Talk 1.1.1 - Macintosh Talk client/daemon.
  363. MacTCP Watcher 1.1.0 - Display MacTCP’s state information.
  364. MacBinary II+ 1.0.2 - MacBinary II+ encoder/decoder.
  365. ObiWan 4.0.1 - Online help system.
  366. Bolo Finder 1.0.2 - Display the results from Mike Ellis' Bolo Tracker.
  367. Bolo RandomMap 1.1.0 - Generate a random map for Bolo.
  368. FetchNews 1.0.0b - Fetch News for use with NewsWatcher’s demo mode.
  369. Chat 1.1.0 - Multiuser primitive irc-like daemon.
  370.  
  371. The latest versions of my programs are available from:
  372. amug.org:pub/peterlewis
  373. nic.switch.ch:/mac/software/peterlewis
  374. redback.cs.uwa.edu.au:/others/peterlewis
  375. and French versions of some of my programs may be available from: ftp.sri.ucl.ac.be:/pub
  376.  
  377. Send postcards, comments, bug reports, wishes, and payments to:
  378.  
  379. Peter Lewis,
  380. 10 Earlston Way,
  381. Booragoon, Perth, WA, 6154,
  382. AUSTRALIA
  383.  
  384. or by electronic mail to:
  385.  
  386. Internet: peter.lewis@info.curtin.edu.au
  387. Bitnet: peter.lewis%info.curtin.edu.au@cunyvm.bitnet
  388. UUCP: uunet!munnari.oz!info.curtin.edu.au!peter.lewis
  389.